<?php

/*
 * 商品详情模型
 * @author sky
 * create_time 2017-05-01
 */

namespace App\Front\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Str;
use Illuminate\Http\Request;
use Intervention\Image\Constraint;
use Intervention\Image\Facades\Image;
use Illuminate\Support\Facades\Storage;
use Session;

class Personal extends Model {
protected $table = 'mini_user';
	
    public static function Personal($id){
    	return Personal::where('name',$id)->get();
    }
}
